package com.fr.privilege.providers;

import com.fr.privilege.authentication.Authentication;
import com.fr.privilege.ui.LoginoutUI;
import com.fr.privilege.ui.NullLoginoutUI;

public class NoAuthenticationProvider extends AbstractAuthenticationProvider
{
  public boolean authenticate(Authentication paramAuthentication)
    throws Exception
  {
    paramAuthentication.setAuthenticated(true);
    return true;
  }

  public LoginoutUI getLoginoutUI()
  {
    return new NullLoginoutUI();
  }
}